Skip to content

Conversation

@solnic
Copy link
Collaborator

@solnic solnic commented Nov 20, 2025

This adds support for distributed tracing via sentry-trace information using a new OpenTelemetry Propagator.

It is based on initial work done by @venkatd that he shared over here 🙇🏻 💜

Configuration

There's a new config that's now needed to set up the Propagator:

config :opentelemetry,
  text_map_propagators: [
    :trace_context,
    :baggage,
    Sentry.OpenTelemetry.Propagator
  ]

Screenshots

image

#skip-changelog

Closes #927
Closes #923

@solnic solnic linked an issue Nov 20, 2025 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Nov 20, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against bc06ffc

@solnic solnic force-pushed the 927-distributed-tracing branch 5 times, most recently from 251f0fa to 526b78b Compare November 26, 2025 12:16
@solnic solnic force-pushed the 927-distributed-tracing branch 7 times, most recently from 23aad88 to 46a4972 Compare December 1, 2025 15:38
@solnic solnic force-pushed the 927-distributed-tracing branch 6 times, most recently from f328cab to 7651b8e Compare December 15, 2025 13:55
@solnic solnic force-pushed the 927-distributed-tracing branch from 7651b8e to 7be0210 Compare December 15, 2025 13:58
@solnic solnic marked this pull request as ready for review December 15, 2025 14:01
@solnic solnic requested a review from sl0thentr0py December 15, 2025 14:01
Copy link
Member

@sl0thentr0py sl0thentr0py left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one comment, otherwise looks great!

@solnic solnic requested a review from sl0thentr0py December 16, 2025 15:45
* chore(tests): add svelte app for e2e testing

* chore(tests): add playwright for e2e testing

* chore(tests): add `TestClient` for e2e tests

* chore(tests): add e2e tests for tracing

* chore(tests): add e2e github workflow
@solnic solnic merged commit 1a1bdd2 into master Dec 17, 2025
11 checks passed
@solnic solnic deleted the 927-distributed-tracing branch December 17, 2025 14:11
solnic added a commit that referenced this pull request Dec 18, 2025
* feat(tracing): support for distributed tracing

* Update CHANGELOG.md

* Treat any span with remote parent as a transaction

* feat: distributed tracing - e2e tests (#964)

* chore(tests): add svelte app for e2e testing

* chore(tests): add playwright for e2e testing

* chore(tests): add `TestClient` for e2e tests

* chore(tests): add e2e tests for tracing

* chore(tests): add e2e github workflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Distributed tracing

3 participants